package com.javasm.gg;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.*;

@TableName("gg_goods")
public class Goods {
  @TableId(value="id",type= IdType.ASSIGN_ID)
  private String id;//商品id
  @TableField(condition = SqlCondition.LIKE)
  private String gname;//商品名称

  @TableField(condition = SqlCondition.LIKE)
  private String gcode;//商品编码

  private String gtype;//商品类别
  private String purchasePrice;//采购价格
  private String marketPrice;//市场价格
  private String shopPrice;//商城价格
  private Integer stock;//库存
  private String minStock;//最低库存量
  private String remark;//备注
  private Integer productId;
  private String createTime;
  private String updateTime;
  @TableField(condition = SqlCondition.LIKE)
  private String gbrand;
  @TableField(condition = SqlCondition.LIKE)
  private String gmodel;
  private String gcolor;
  @TableField(exist = false)
  private GoodsType goodsType;

  public GoodsType getGoodsType() {
    return goodsType;
  }

  public void setGoodsType(GoodsType goodsType) {
    this.goodsType = goodsType;
  }

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getGname() {
    return gname;
  }

  public void setGname(String gname) {
    this.gname = gname;
  }

  public String getGcode() {
    return gcode;
  }

  public void setGcode(String gcode) {
    this.gcode = gcode;
  }

  public String getGtype() {
    return gtype;
  }

  public void setGtype(String gtype) {
    this.gtype = gtype;
  }

  public String getPurchasePrice() {
    return purchasePrice;
  }

  public void setPurchasePrice(String purchasePrice) {
    this.purchasePrice = purchasePrice;
  }

  public String getMarketPrice() {
    return marketPrice;
  }

  public void setMarketPrice(String marketPrice) {
    this.marketPrice = marketPrice;
  }

  public String getShopPrice() {
    return shopPrice;
  }

  public void setShopPrice(String shopPrice) {
    this.shopPrice = shopPrice;
  }

  public Integer getStock() {
    return stock;
  }

  public void setStock(Integer stock) {
    this.stock = stock;
  }

  public String getMinStock() {
    return minStock;
  }

  public void setMinStock(String minStock) {
    this.minStock = minStock;
  }

  public String getRemark() {
    return remark;
  }

  public void setRemark(String remark) {
    this.remark = remark;
  }

  public Integer getProductId() {
    return productId;
  }

  public void setProductId(Integer productId) {
    this.productId = productId;
  }

  public String getCreateTime() {
    return createTime;
  }

  public void setCreateTime(String createTime) {
    this.createTime = createTime;
  }

  public String getUpdateTime() {
    return updateTime;
  }

  public void setUpdateTime(String updateTime) {
    this.updateTime = updateTime;
  }

  public String getGbrand() {
    return gbrand;
  }

  public void setGbrand(String gbrand) {
    this.gbrand = gbrand;
  }

  public String getGmodel() {
    return gmodel;
  }

  public void setGmodel(String gmodel) {
    this.gmodel = gmodel;
  }

  public String getGcolor() {
    return gcolor;
  }

  public void setGcolor(String gcolor) {
    this.gcolor = gcolor;
  }
}
